package com.example.scheduleendpoint.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("test")
@Api("测试")
public class TestController {

    @GetMapping("test1")
    @ResponseBody
    @ApiOperation("测试")
    public String test(){
        return "test1";
    }
}
